package com.rightrule.rule.constans;

import lombok.Data;

@Data
public class CommonConstant {
    public static final String BKDECISION_RULE_IS_HIT = "bkdecisionRuleIsHit";
    public static final String EXECUTE_SUCCESS = "SUCCESS";
    public static final String EXECUTE_BRANCH_FAIL = "BRANCH_FAIL";
    public static final String EXECUTE_RULE_FAIL = "RULE_FAIL";
    public static final String RULE_IS_HIT = "RULE_IS_HIT";
    public static final String RESULT = "result";
    public static final String DICEST_LOGGER = "BKDICISION-EXECUTOR-DIGEST";
    public static final String DIGGEST_LOGGER_EXCEPT = " except";
    public static final String DIGGEST_LOGGER_INVOKE = "invoke";
    public static final String DIGGEST_LOGGER_COST = "cost";
    public static final Integer DEFAULT_OUTPUT = 1;
    public static final Integer NOT_DEFAULT_OUTPUT = 0;
    public static final Integer RULE_HIT = 1;
    public static final Integer RULE_NOT_HIT = 0;

    public static final String EVENT_INPUT_BUSINESS_ID = "businessId";
    public static final String EVENT_INPUT_IPID = "ipId";

    public static final String DEFAULT_EMPTY_STR = "\"\"";

    /**
     * 转人工
     */
    public static final String REVIEW = "REVIEW";
    /**
     * 拒绝
     */
    public static final String REJECT = "REJECT";

    /**
     * 默认规则
     */
    public static final String MOCK_DEFAULT_RULE = "MOCK_DEFAULT_RULE";

    /**
     * 默认规则码
     */
    public static final String MOCK_DEFAULT_CODE = "MOCK_DEFAULT_CODE";


    /**
     * 查询状态
     */
    public static final String COMMON_REQUEST_STATUS = "COMMON_REQUEST_STATUS";


    /**
     * 异常变量列表
     */
    public static final String ERROR_FIELD_LIST = "ERROR_FIELD_LIST";

    /**
     * 成功
     */
    public static final String SUCCESS = "SUCCESS";

    /**
     * 异常
     */
    public static final String ERROR = "ERROR";


    public static final String SCRIPT_MAIN_METHOD = "mainCompute";

}
